package com.meishij.entry;

import java.util.List;

/**
 * Created by 肖荣 on 2016/10/13.
 */

public class MallCategoryEntry {

    /**
     * code : 1
     * msg : 成功
     * category : [{"cid1":"3","cid2":"0"}]
     * goods_list : [{"id":"2237","title":"安全好味自制布丁 | 布丁粉 75g（多种口味）","image":"http://site.meishij.net/shop/uploadfile/20160422/20160422171809.jpg","price":"7.5","market_price":"17.5","type":"0","goodsSource":"6,3"},{"id":"1525","title":"高活性酵母让馒头更松软丨新良 高活性干酵母10包","image":"http://site.meishij.net/shop/uploadfile/20161008/20161008121943.jpg","price":"9.9","market_price":"9.9","type":"0","goodsSource":"6,3"},{"id":"1228","title":"面揉多大它来告诉你|家焙乐 硅胶垫大号带刻度案板","image":"http://site.meishij.net/shop/uploadfile/20160926/20160926104431.jpg","price":"19","market_price":"44","type":"0","goodsSource":"6,3"},{"id":"6082","title":"每次一小包轻松发酵丨安琪酵母乳酸菌酸奶发酵剂8菌 家用做酸奶益生菌粉 酸奶菌10g/袋","image":"http://site.meishij.net/shop/uploadfile/20160902/20160902140605.jpg","price":"19.8","market_price":"24","type":"0","goodsSource":"6,3"},{"id":"1789","title":"浓缩西西里岛的酸甜精华|宝蓝吉浓缩纯柠檬汁 125ml","image":"http://i1.douguo.net//upload/tuan/1/1/9/113ccc536c9bd522dfd44cc8e9ddca59.jpg","price":"14.8","market_price":"18","type":"0","goodsSource":"6,3"},{"id":"3473","title":"给可爱小蛋糕找个家|展艺耐高温纸托100个（多款可选）","image":"http://i1.douguo.net//upload/tuan/6/a/f/6a920fef9de658320caf1cad908692bf.jpg","price":"5","market_price":"10","type":"0","goodsSource":"6,3"},{"id":"2996","title":"可以干吃的烘焙原料|展艺蔓越莓干原装100g","image":"http://site.meishij.net/shop/uploadfile/20160422/20160422111057.jpg","price":"11.8","market_price":"22.8","type":"0","goodsSource":"6,3"},{"id":"2635","title":"全麦制作好吃不长胖|谷优玛丽亚消化饼干 400g","image":"http://i1.douguo.net//upload/tuan/1/f/6/1f73f5576264dba54ff4d175a321e106.jpg","price":"10.8","market_price":"25.6","type":"0","goodsSource":"6,3"},{"id":"3705","title":"能吃出芝士味的沙拉酱|冠利美式凯撒沙拉酱 250ml","image":"http://i1.douguo.net//upload/tuan/9/4/2/9468ec3840136b14bdfd011e7a6f0052.jpg","price":"18.8","market_price":"25.8","type":"0","goodsSource":"6,3"},{"id":"2634","title":"满满麦芯精华更营养|品厨 凯旋门高筋粉 500g","image":"http://i1.douguo.net//upload/tuan/a/3/8/a381dd298cf5fa88974ea4f0f578aee8.jpg","price":"4.2","market_price":"10","type":"0","goodsSource":"6,3"}]
     */

    private String code;
    private String msg;
    /**
     * cid1 : 3
     * cid2 : 0
     */

    private List<CategoryBean> category;
    /**
     * id : 2237
     * title : 安全好味自制布丁 | 布丁粉 75g（多种口味）
     * image : http://site.meishij.net/shop/uploadfile/20160422/20160422171809.jpg
     * price : 7.5
     * market_price : 17.5
     * type : 0
     * goodsSource : 6,3
     */

    private List<GoodsListBean> goods_list;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<CategoryBean> getCategory() {
        return category;
    }

    public void setCategory(List<CategoryBean> category) {
        this.category = category;
    }

    public List<GoodsListBean> getGoods_list() {
        return goods_list;
    }

    public void setGoods_list(List<GoodsListBean> goods_list) {
        this.goods_list = goods_list;
    }

    public static class CategoryBean {
        private String cid1;
        private String cid2;

        public String getCid1() {
            return cid1;
        }

        public void setCid1(String cid1) {
            this.cid1 = cid1;
        }

        public String getCid2() {
            return cid2;
        }

        public void setCid2(String cid2) {
            this.cid2 = cid2;
        }
    }

    public static class GoodsListBean {
        private String id;
        private String title;
        private String image;
        private String price;
        private String market_price;
        private String type;
        private String goodsSource;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getImage() {
            return image;
        }

        public void setImage(String image) {
            this.image = image;
        }

        public String getPrice() {
            return price;
        }

        public void setPrice(String price) {
            this.price = price;
        }

        public String getMarket_price() {
            return market_price;
        }

        public void setMarket_price(String market_price) {
            this.market_price = market_price;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getGoodsSource() {
            return goodsSource;
        }

        public void setGoodsSource(String goodsSource) {
            this.goodsSource = goodsSource;
        }
    }
}
